xenstored has had a testsuite for some time. This splits the test
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 5 Aug 2005 09:04:01 +0000 (09:04 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 5 Aug 2005 09:04:01 +0000 (09:04 +0000)
commita3cbc30d9f185885a3e89f37be2b91e7365345d9
tree4204a890abdd4f71777486751818a27d50e04563
parentd2f97d17d49b657b19ebc3e40bcb34276ca7f2e8
xenstored has had a testsuite for some time.  This splits the test
targets into "make -s check" (the GNU standard) which is designed to run
in several seconds or less, with only "<dirname>:" and a seried of "."
for output, and "make fullcheck" which is more verbose and complete, and
runs in minutes.

I plan to submit a patch to plumb these tests in at the top level soon,
with the idea of having a "make -s check" which you can reasonable run
every checkin (time make check << time make), and a "make fullcheck"
which you can run after significant changes.

This patch speeds up testing by making tests one single "xs_test"
script, enhancing xs_test with a simple "expect" command.  It also only
runs the "high value" tests under "make check", and leaves the rest for
"make fullcheck".

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 files changed:
tools/xenstore/Makefile
tools/xenstore/testsuite/01simple.sh [deleted file]
tools/xenstore/testsuite/02directory.sh [deleted file]
tools/xenstore/testsuite/03write.sh [deleted file]
tools/xenstore/testsuite/04rm.sh [deleted file]
tools/xenstore/testsuite/05filepermissions.sh [deleted file]
tools/xenstore/testsuite/06dirpermissions.sh [deleted file]
tools/xenstore/testsuite/07watch.sh [deleted file]
tools/xenstore/testsuite/08transaction.sh [deleted file]
tools/xenstore/testsuite/09domain.sh [deleted file]
tools/xenstore/testsuite/10domain-homedir.sh [deleted file]
tools/xenstore/testsuite/11domain-watch.sh [deleted file]
tools/xenstore/testsuite/12readonly.sh [deleted file]
tools/xenstore/testsuite/13watch-ack.sh [deleted file]
tools/xenstore/testsuite/test.sh
tools/xenstore/xs_random.c
tools/xenstore/xs_test.c